package com.qd.panda.dc.dto;

import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 支付停车费用
 *
 * @author sjk
 */
@Data
@Accessors(chain = true)
@JsonPropertyOrder(alphabetic = true)
public class PayReqDTO {
    /**
     * 车牌号
     */
    private String plateNumber;
    /**
     * 支付金额
     */
    private BigDecimal amount;
    /**
     * 停车订单号
     */
    private String payNo;
    /**
     * 充电订单号
     */
    private String startChargeSeq;
    /**
     * 停车时长
     */
    private String parkTime;
    /**
     * 车道号
     */
    private String laneCode;
    /**
     * 进场时间
     */
    private String inTime;
    /**
     * 出场时间
     */
    private String outTime;

    public void freeData() {
        this.plateNumber = null;
        this.amount = null;
        this.payNo = null;
        this.startChargeSeq = null;
        this.parkTime = null;
        this.laneCode = null;
        this.inTime = null;
        this.outTime = null;
    }
}